<?php

$filename = "../../../../uploads/message/$_POST[name]";
if(file_exists($filename)){
    unlink($filename);
}